home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
archvrs
/
msdos
/
comp430
/
source
/
tarmail
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-01-18
|
316 b
|
14 lines
if test $# -lt 3; then
echo "Usage: tarmail mailpath \"subject-string\" directory-or-file(s)"
exit
else
mailpath=$1
echo "mailpath = $mailpath"
shift
subject="$1"
echo "subject-string = $subject"
shift
echo files = $*
tar cvf - $* | compress | btoa | mail -s "$subject" $mailpath
fi